"""
一个列表中保存了一些整数，请输出列表中重复的数字，以及重复的
次数
"""
numlist = [1,2,3,4,5,6,6,7,4,3,8,133,44,5]
numdict = {}
for i in numlist:
    numdict[i]  = numdict.get(i,0) +1
for key,value in numdict.items():
    if value > 1:
        # 序列解包，遍历每个元素的key和value
        print(key , value,sep=":",end = "  ")
